projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7445560
)
Tweak the file/buffer comparison from previous save-some-buffers change
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 25 Aug 2020 15:07:39 +0000
(17:07 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 25 Aug 2020 15:07:39 +0000
(17:07 +0200)
* lisp/files.el (save-some-buffers): Relax the "similarity" regexp
from the previous regexp: Don't show both file and buffer names if
the file is /tmp/foo and the buffer name is foo<zot>.
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index f1931c7d92fd8510c88c59ffc495ed1d601eefe6..9a20ad41bae7a4016b88508d6ebc58b022c69fae 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-5575,7
+5575,7
@@
change the additional actions you can take on files."
(regexp-quote
(file-name-nondirectory
buffer-file-name))
- "<[
0-9]+
>\\'")
+ "<[
^>]*
>\\'")
(buffer-name buffer)))
;; The buffer name is similar to the
;; file name.